/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Sun Jan 11 20:48:03 2015
 */
/* Compiler settings for C:\Documents and Settings\Luis Perdigao\My Documents\Programming\Cpp\LPMolecViewerControlDevSVN\LPMolecViewerControl.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __LPMolecViewerControl_h__
#define __LPMolecViewerControl_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __ILPMolecViewer_FWD_DEFINED__
#define __ILPMolecViewer_FWD_DEFINED__
typedef interface ILPMolecViewer ILPMolecViewer;
#endif 	/* __ILPMolecViewer_FWD_DEFINED__ */


#ifndef ___ILPMolecViewerEvents_FWD_DEFINED__
#define ___ILPMolecViewerEvents_FWD_DEFINED__
typedef interface _ILPMolecViewerEvents _ILPMolecViewerEvents;
#endif 	/* ___ILPMolecViewerEvents_FWD_DEFINED__ */


#ifndef __LPMolecViewer_FWD_DEFINED__
#define __LPMolecViewer_FWD_DEFINED__

#ifdef __cplusplus
typedef class LPMolecViewer LPMolecViewer;
#else
typedef struct LPMolecViewer LPMolecViewer;
#endif /* __cplusplus */

#endif 	/* __LPMolecViewer_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 

#ifndef __ILPMolecViewer_INTERFACE_DEFINED__
#define __ILPMolecViewer_INTERFACE_DEFINED__

/* interface ILPMolecViewer */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_ILPMolecViewer;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("08AF0C99-1D80-4515-B3CC-BB1957BC6C96")
    ILPMolecViewer : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileLocation( 
            /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileLocation( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Animate( 
            /* [retval][out] */ BOOL __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Animate( 
            /* [in] */ BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SphereResolution( 
            /* [retval][out] */ short __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SphereResolution( 
            /* [in] */ short newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ConnectorResolution( 
            /* [retval][out] */ short __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ConnectorResolution( 
            /* [in] */ short newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TimerInterval( 
            /* [retval][out] */ short __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TimerInterval( 
            /* [in] */ short newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoConnect( 
            /* [retval][out] */ BOOL __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoConnect( 
            /* [in] */ BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ZoomFactor( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ZoomFactor( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AngleTheta( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AngleTheta( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AnglePsi( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AnglePsi( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AnglePhi( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AnglePhi( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PerspectiveAngle( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PerspectiveAngle( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBitmap( 
            HBITMAP __RPC_FAR *bmp) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveMolToPNG( 
            BSTR filename) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TestShowMessageBox( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ILPMolecViewerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            ILPMolecViewer __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            ILPMolecViewer __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [out] */ UINT __RPC_FAR *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
            /* [out] */ VARIANT __RPC_FAR *pVarResult,
            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
            /* [out] */ UINT __RPC_FAR *puArgErr);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FileLocation )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ BSTR __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FileLocation )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Animate )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ BOOL __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Animate )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SphereResolution )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ short __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_SphereResolution )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ short newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ConnectorResolution )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ short __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ConnectorResolution )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ short newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TimerInterval )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ short __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TimerInterval )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ short newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AutoConnect )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ BOOL __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AutoConnect )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ZoomFactor )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ZoomFactor )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AngleTheta )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AngleTheta )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AnglePsi )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AnglePsi )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AnglePhi )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_AnglePhi )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PerspectiveAngle )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PerspectiveAngle )( 
            ILPMolecViewer __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBitmap )( 
            ILPMolecViewer __RPC_FAR * This,
            HBITMAP __RPC_FAR *bmp);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveMolToPNG )( 
            ILPMolecViewer __RPC_FAR * This,
            BSTR filename);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TestShowMessageBox )( 
            ILPMolecViewer __RPC_FAR * This);
        
        END_INTERFACE
    } ILPMolecViewerVtbl;

    interface ILPMolecViewer
    {
        CONST_VTBL struct ILPMolecViewerVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define ILPMolecViewer_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define ILPMolecViewer_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define ILPMolecViewer_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define ILPMolecViewer_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define ILPMolecViewer_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define ILPMolecViewer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define ILPMolecViewer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define ILPMolecViewer_get_FileLocation(This,pVal)	\
    (This)->lpVtbl -> get_FileLocation(This,pVal)

#define ILPMolecViewer_put_FileLocation(This,newVal)	\
    (This)->lpVtbl -> put_FileLocation(This,newVal)

#define ILPMolecViewer_get_Animate(This,pVal)	\
    (This)->lpVtbl -> get_Animate(This,pVal)

#define ILPMolecViewer_put_Animate(This,newVal)	\
    (This)->lpVtbl -> put_Animate(This,newVal)

#define ILPMolecViewer_get_SphereResolution(This,pVal)	\
    (This)->lpVtbl -> get_SphereResolution(This,pVal)

#define ILPMolecViewer_put_SphereResolution(This,newVal)	\
    (This)->lpVtbl -> put_SphereResolution(This,newVal)

#define ILPMolecViewer_get_ConnectorResolution(This,pVal)	\
    (This)->lpVtbl -> get_ConnectorResolution(This,pVal)

#define ILPMolecViewer_put_ConnectorResolution(This,newVal)	\
    (This)->lpVtbl -> put_ConnectorResolution(This,newVal)

#define ILPMolecViewer_get_TimerInterval(This,pVal)	\
    (This)->lpVtbl -> get_TimerInterval(This,pVal)

#define ILPMolecViewer_put_TimerInterval(This,newVal)	\
    (This)->lpVtbl -> put_TimerInterval(This,newVal)

#define ILPMolecViewer_get_AutoConnect(This,pVal)	\
    (This)->lpVtbl -> get_AutoConnect(This,pVal)

#define ILPMolecViewer_put_AutoConnect(This,newVal)	\
    (This)->lpVtbl -> put_AutoConnect(This,newVal)

#define ILPMolecViewer_get_ZoomFactor(This,pVal)	\
    (This)->lpVtbl -> get_ZoomFactor(This,pVal)

#define ILPMolecViewer_put_ZoomFactor(This,newVal)	\
    (This)->lpVtbl -> put_ZoomFactor(This,newVal)

#define ILPMolecViewer_get_AngleTheta(This,pVal)	\
    (This)->lpVtbl -> get_AngleTheta(This,pVal)

#define ILPMolecViewer_put_AngleTheta(This,newVal)	\
    (This)->lpVtbl -> put_AngleTheta(This,newVal)

#define ILPMolecViewer_get_AnglePsi(This,pVal)	\
    (This)->lpVtbl -> get_AnglePsi(This,pVal)

#define ILPMolecViewer_put_AnglePsi(This,newVal)	\
    (This)->lpVtbl -> put_AnglePsi(This,newVal)

#define ILPMolecViewer_get_AnglePhi(This,pVal)	\
    (This)->lpVtbl -> get_AnglePhi(This,pVal)

#define ILPMolecViewer_put_AnglePhi(This,newVal)	\
    (This)->lpVtbl -> put_AnglePhi(This,newVal)

#define ILPMolecViewer_get_PerspectiveAngle(This,pVal)	\
    (This)->lpVtbl -> get_PerspectiveAngle(This,pVal)

#define ILPMolecViewer_put_PerspectiveAngle(This,newVal)	\
    (This)->lpVtbl -> put_PerspectiveAngle(This,newVal)

#define ILPMolecViewer_GetBitmap(This,bmp)	\
    (This)->lpVtbl -> GetBitmap(This,bmp)

#define ILPMolecViewer_SaveMolToPNG(This,filename)	\
    (This)->lpVtbl -> SaveMolToPNG(This,filename)

#define ILPMolecViewer_TestShowMessageBox(This)	\
    (This)->lpVtbl -> TestShowMessageBox(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_FileLocation_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ BSTR __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_FileLocation_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_FileLocation_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ BSTR newVal);


void __RPC_STUB ILPMolecViewer_put_FileLocation_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_Animate_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ BOOL __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_Animate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_Animate_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ BOOL newVal);


void __RPC_STUB ILPMolecViewer_put_Animate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_SphereResolution_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ short __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_SphereResolution_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_SphereResolution_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ short newVal);


void __RPC_STUB ILPMolecViewer_put_SphereResolution_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_ConnectorResolution_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ short __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_ConnectorResolution_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_ConnectorResolution_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ short newVal);


void __RPC_STUB ILPMolecViewer_put_ConnectorResolution_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_TimerInterval_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ short __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_TimerInterval_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_TimerInterval_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ short newVal);


void __RPC_STUB ILPMolecViewer_put_TimerInterval_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_AutoConnect_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ BOOL __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_AutoConnect_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_AutoConnect_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ BOOL newVal);


void __RPC_STUB ILPMolecViewer_put_AutoConnect_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_ZoomFactor_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ double __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_ZoomFactor_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_ZoomFactor_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ double newVal);


void __RPC_STUB ILPMolecViewer_put_ZoomFactor_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_AngleTheta_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ double __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_AngleTheta_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_AngleTheta_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ double newVal);


void __RPC_STUB ILPMolecViewer_put_AngleTheta_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_AnglePsi_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ double __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_AnglePsi_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_AnglePsi_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ double newVal);


void __RPC_STUB ILPMolecViewer_put_AnglePsi_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_AnglePhi_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ double __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_AnglePhi_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_AnglePhi_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ double newVal);


void __RPC_STUB ILPMolecViewer_put_AnglePhi_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_get_PerspectiveAngle_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [retval][out] */ double __RPC_FAR *pVal);


void __RPC_STUB ILPMolecViewer_get_PerspectiveAngle_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_put_PerspectiveAngle_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    /* [in] */ double newVal);


void __RPC_STUB ILPMolecViewer_put_PerspectiveAngle_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_GetBitmap_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    HBITMAP __RPC_FAR *bmp);


void __RPC_STUB ILPMolecViewer_GetBitmap_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_SaveMolToPNG_Proxy( 
    ILPMolecViewer __RPC_FAR * This,
    BSTR filename);


void __RPC_STUB ILPMolecViewer_SaveMolToPNG_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ILPMolecViewer_TestShowMessageBox_Proxy( 
    ILPMolecViewer __RPC_FAR * This);


void __RPC_STUB ILPMolecViewer_TestShowMessageBox_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __ILPMolecViewer_INTERFACE_DEFINED__ */



#ifndef __LPMOLECVIEWERCONTROLLib_LIBRARY_DEFINED__
#define __LPMOLECVIEWERCONTROLLib_LIBRARY_DEFINED__

/* library LPMOLECVIEWERCONTROLLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_LPMOLECVIEWERCONTROLLib;

#ifndef ___ILPMolecViewerEvents_DISPINTERFACE_DEFINED__
#define ___ILPMolecViewerEvents_DISPINTERFACE_DEFINED__

/* dispinterface _ILPMolecViewerEvents */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID__ILPMolecViewerEvents;

#if defined(__cplusplus) && !defined(CINTERFACE)

    MIDL_INTERFACE("8ACBC7E7-FEA6-4A68-89A0-A93A25555A15")
    _ILPMolecViewerEvents : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _ILPMolecViewerEventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            _ILPMolecViewerEvents __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            _ILPMolecViewerEvents __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            _ILPMolecViewerEvents __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
            _ILPMolecViewerEvents __RPC_FAR * This,
            /* [out] */ UINT __RPC_FAR *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
            _ILPMolecViewerEvents __RPC_FAR * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
            _ILPMolecViewerEvents __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
            _ILPMolecViewerEvents __RPC_FAR * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
            /* [out] */ VARIANT __RPC_FAR *pVarResult,
            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
            /* [out] */ UINT __RPC_FAR *puArgErr);
        
        END_INTERFACE
    } _ILPMolecViewerEventsVtbl;

    interface _ILPMolecViewerEvents
    {
        CONST_VTBL struct _ILPMolecViewerEventsVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define _ILPMolecViewerEvents_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define _ILPMolecViewerEvents_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define _ILPMolecViewerEvents_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define _ILPMolecViewerEvents_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define _ILPMolecViewerEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define _ILPMolecViewerEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define _ILPMolecViewerEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)

#endif /* COBJMACROS */


#endif 	/* C style interface */


#endif 	/* ___ILPMolecViewerEvents_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_LPMolecViewer;

#ifdef __cplusplus

class DECLSPEC_UUID("E71EA8D3-F5D3-4ABD-9A1B-3E287B8A0B25")
LPMolecViewer;
#endif
#endif /* __LPMOLECVIEWERCONTROLLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 

unsigned long             __RPC_USER  HBITMAP_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HBITMAP __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HBITMAP_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HBITMAP __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HBITMAP_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HBITMAP __RPC_FAR * ); 
void                      __RPC_USER  HBITMAP_UserFree(     unsigned long __RPC_FAR *, HBITMAP __RPC_FAR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif
